package com.css.fghs.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.css.fghs.entity.domain.FgjyYhzxXxtxbDO;
import com.css.fghs.entity.dto.XxtxReqDTO;
import com.css.fghs.entity.vo.XxtxVO;
import com.css.fghs.service.FgjyYhzxXxtxbService;
import com.css.fghs.mapper.FgjyYhzxXxtxbMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author yuanyuan
* @description 针对表【fgjy_yhzx_xxtxb(消息提醒表)】的数据库操作Service实现
* @createDate 2025-08-29 16:53:26
*/
@Service
public class FgjyYhzxXxtxbServiceImpl extends ServiceImpl<FgjyYhzxXxtxbMapper, FgjyYhzxXxtxbDO>
    implements FgjyYhzxXxtxbService {

    @Override
    public List<XxtxVO> getXxtx(String yhuuid) {
        return this.baseMapper.getXxtx(yhuuid);
    }

    @Override
    public Page<XxtxVO> getXxtxPage(XxtxReqDTO reqVO) {
        Page<XxtxVO> page = new Page<>(reqVO.getPageNum(), reqVO.getPageSize());
        return this.baseMapper.getXxtxPage(page,reqVO);
    }
}




